package com.lzc.springboot_jsp_shiro.dao;

import com.lzc.springboot_jsp_shiro.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionDao {
    /**
     * 根据角色id得到权限信息
     *
     * @param rid
     * @return
     */
    List<Permission> findPermissionsByRid(Integer rid);
}
